package datamining.visualisation;

import java.awt.Font;
import java.awt.GridBagConstraints;
import java.awt.GridBagLayout;
import java.awt.Insets;
import java.beans.PropertyChangeEvent;
import java.beans.PropertyChangeListener;
import java.util.Properties;

import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;

import settings.Settings;
import java.awt.BorderLayout;
import javax.swing.JToolBar;
import javax.swing.JButton;
import javax.swing.ImageIcon;

/** 
 * 创建于 2012-11-21 下午2:08:43
 * 
 * @author xujinghu (jinghuxu@nudt.edu.cn)
 * 
 * Copyright 2012 xujinghu
 * 
 * Lisence: Apache
 */
public class StatusPanel extends JPanel implements PropertyChangeListener {
	
	private final JLabel openLabel;
	
	public StatusPanel(Properties props) {
		super();
		final GridBagConstraints constraints = new GridBagConstraints();
		// += openLabel
		openLabel = new JLabel("status unkown",
				SwingConstants.LEFT);
		// + fileName,
		openLabel.setFont(new Font("Dialog", Font.BOLD, 14));

		constraints.gridx = 0;
		constraints.gridy = 0;
		constraints.weightx = 0.5;
		constraints.insets = new Insets(0, 0, 0, 50);
		constraints.fill = GridBagConstraints.VERTICAL;
		constraints.anchor = GridBagConstraints.EAST;
		setLayout(new BorderLayout(0, 0));
		add(openLabel);
		// TODO Auto-generated constructor stub
	}

	@Override
	public void propertyChange(PropertyChangeEvent evt) {
		// TODO Auto-generated method stub
		
	}
}
